package com.sy.creation.builder;

public class XiaoMiBuilder extends AbstractBuilder {

    public XiaoMiBuilder() {
        phone = new Phone();
    }

    @Override
    AbstractBuilder initCpu(String cpu) {
        phone.cup = cpu;
        return this;
    }

    @Override
    AbstractBuilder initDisk(String disk) {
        phone.disk = disk;
        return this;
    }

    @Override
    AbstractBuilder initMen(String men) {
        phone.men = men;
        return this;
    }
}
